// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { candiDatelist } from '@/mockjs/candiData'
console.log(candiDatelist)
import { dataList } from '@/mockjs/interviewer'
console.log(dataList)
import {getTableList} from "@/mockjs/positionManagement"
console.log(getTableList)
// 引入elemenent-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入axios
import axios from 'axios'

import App from './App.vue'
import router from './router'
const app = createApp(App)
// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { get } from './utils/http'
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(createPinia())
app.use(router)
app.config.globalProperties.$axios = axios
app.use(ElementPlus)
app.mount('#app')
